
set(TOOL_PATH /home/zwf/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/)
set(CMAKE_C_COMPILER ${TOOL_PATH}xtensa-esp32-elf-gcc)
set(CMAKE_CXX_COMPILER ${TOOL_PATH}xtensa-esp32-elf-g++)
set(CMAKE_ASM_COMPILER ${TOOL_PATH}xtensa-esp32-elf-gcc)
set(_CMAKE_TOOLCHAIN_PREFIX ${TOOL_PATH}xtensa-esp32-elf-)